package com.fulihui.systemcore.dto;

import org.near.toolkit.model.ToString;

public class ApiTemplateDTO extends ToString {
    private static final long serialVersionUID = -7490163067914351997L;
    private Long id;

    private String apiCode;

    private String targetUrl;

    private String httpMethod;

    private String contentType;

    private String inencoding;

    private String outencoding;

    private Long connectionTimeout;

    private Long soTimeout;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getApiCode() {
        return apiCode;
    }

    public void setApiCode(String apiCode) {
        this.apiCode = apiCode == null ? null : apiCode.trim();
    }

    public String getTargetUrl() {
        return targetUrl;
    }

    public void setTargetUrl(String targetUrl) {
        this.targetUrl = targetUrl == null ? null : targetUrl.trim();
    }

    public String getHttpMethod() {
        return httpMethod;
    }

    public void setHttpMethod(String httpMethod) {
        this.httpMethod = httpMethod == null ? null : httpMethod.trim();
    }

    public String getContentType() {
        return contentType;
    }

    public void setContentType(String contentType) {
        this.contentType = contentType == null ? null : contentType.trim();
    }

    public String getInencoding() {
        return inencoding;
    }

    public void setInencoding(String inencoding) {
        this.inencoding = inencoding == null ? null : inencoding.trim();
    }

    public String getOutencoding() {
        return outencoding;
    }

    public void setOutencoding(String outencoding) {
        this.outencoding = outencoding == null ? null : outencoding.trim();
    }

    public Long getConnectionTimeout() {
        return connectionTimeout;
    }

    public void setConnectionTimeout(Long connectionTimeout) {
        this.connectionTimeout = connectionTimeout;
    }

    public Long getSoTimeout() {
        return soTimeout;
    }

    public void setSoTimeout(Long soTimeout) {
        this.soTimeout = soTimeout;
    }
}